package cn.com.chengmandian.erp.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * ERP系统-备件管理-调拨单
 * </p>
 *
 * @author AutoGenerator
 */
@Getter
@Setter
@TableName("erp_part_allot_bill")
@ApiModel(value = "ErpPartAllotBill对象", description = "ERP系统-备件管理-调拨单")
public class ErpPartAllotBill implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("调拨单编号")
    private String billNo;

    @ApiModelProperty("调出城市")
    private Integer fromOperateId;

    @ApiModelProperty("调出仓库")
    private Integer fromWarehouseId;

    @ApiModelProperty("调入城市")
    private Integer toOperateId;

    @ApiModelProperty("调入仓库ID")
    private Integer toWarehouseId;

    @ApiModelProperty("调拨数量")
    private Integer amount;

    @ApiModelProperty("品类数")
    private Integer itemAmount;

    @ApiModelProperty("调拨原因")
    private String note;

    @ApiModelProperty("状态 1-草稿 2-审批中 3-待发货 4-待签收 5-调拨完成 6-审批驳回 7-已取消")
    private Integer status;

    @ApiModelProperty("物流公司")
    private String expressCompany;

    @ApiModelProperty("物流单号")
    private String expressNo;

    @ApiModelProperty("发货时间")
    private Date expressTime;

    @ApiModelProperty("发货图片")
    private String expressImage;

    @ApiModelProperty("发货人ID")
    private Integer expressUser;

    @ApiModelProperty("发货人姓名")
    private String expressName;

    @ApiModelProperty("签收完成时间")
    private Date signTime;

    @ApiModelProperty("签收文件")
    private String signFiles;

    @ApiModelProperty("签收人ID")
    private Integer signUser;

    @ApiModelProperty("签收人姓名")
    private String signName;

    @ApiModelProperty("创建人ID")
    private Integer createUser;

    @ApiModelProperty("创建人姓名")
    private String createName;

    @ApiModelProperty("是否删除：0.否(默认)1.是")
    @TableLogic(value = "0" ,delval = "1")
    private Integer isDeleted;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("修改时间")
    private Date modifyTime;

}
